package com.ccrfid.rmc6.service.map;

import com.ccrfid.rmc6.entity.asset.AssetView;
import com.ccrfid.rmc6.entity.personnel.PersonnelView;
import com.ccrfid.rmc6.entity.poi.PoiLocationEntity;
import com.ccrfid.rmc6.pojo.dto.PersonnelSearchDto;
import com.vividsolutions.jts.geom.Polygon;

import java.util.List;

public interface MapService {

    List<PoiLocationEntity> searchLocationInfo(String queryStr);

    List<PersonnelView> searchPersonnelInfo(String queryStr);

    List<PersonnelSearchDto> searchPersonnelInfo(String queryStr, Integer prisonerType, Integer locatorAddress);
    List<PersonnelSearchDto> searchPersonnelInfoInPolygon(Integer prisonerType, Polygon polygon);

    List<AssetView> searchAssetInfo(String queryStr, Integer locatorAddress);
    List<AssetView> searchAssetInfoInPolygon(Polygon polygon);

    PoiLocationEntity getOrgNavigation(Long orgId);
}
